/*********************
* Author:Dzlua
* QQ:505544956
* time:2016/09/19
*/
#ifndef __EDUI_TEXT_H__
#define __EDUI_TEXT_H__

#include "Label.h"

EDUI_NAMESPACE_BEGIN

class EDUI_API Text : public Label
{
protected:
    Text();
    virtual ~Text();
public:
	static Text* GetInterface();
	virtual void Release();
    static Text* ToText(Control* ctrl);
public:
    virtual Size GetFixedSize() const;
protected:
    virtual void RenderText(IRender* render, const Rect* rc);
};

EDUI_NAMESPACE_END

#endif